// component/alert_msg/alert_msg.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
     
  },

  /**
   * 组件的初始数据
   */
  data: {
		order:[
			{
				num:'125454',
				state:'已完成'
			},
			{
				num:'125454',
				state:'已取消'
			},
			{
				num:'125454',
				state:'已接单'
			},{
				num:'125454',
				state:'已接单'
			},
		]
  },

  /**
   * 组件的方法列表
   */
  methods: {
    start_roaddeil(e){
		var id = e.currentTarget.dataset.id;
		console.log(id)
		wx.navigateTo({
			url:'../../user/orderDeil/orderDeil?id=' + id,					
		}) 
    },
    //我的评价
    evaluation(){
    	wx.navigateTo({
    		url:'../evaluation/evaluation'
    	})
    },
	dialPhone(){
		wx.makePhoneCall({
			phoneNumber: '18235461258' 
		});
	},
	mapTap(){
		wx.openLocation({
			latitude: 23.362490,
			longitude: 116.715790,
			scale: 18,
			name: '华乾大厦',
			address: '金平区长平路93号'
		})
	}
  }
})
